package com.lovo.homeWork;

public class TestMain {
    public static void main(String[] args) {


        Police police = new Police("刘海涛");
        Driver driver = new Driver("赵云龙");
        Rule rule = new Rule("不穿裤子开车");
        Punish punish = new Punish("罚款2个W");
        police.dispose(police, driver, rule, punish);



        TaxBureau taxBureau = new TaxBureau("缴纳");
        Tax tax = new Tax("个人所得税");
        Merchant merchant = new Merchant("赵雨滴");
        taxBureau.taxCollection(taxBureau, merchant, tax);



    }
}
